GPERF

Section: User Commands (1)
Updated: December 16, 1988
Index Return to Main Contents
 

NAME

gperf - generate a perfect hash function from a key set  

SYNOPSIS

gperf [ -adghijklnoprsStv ] [ keyfile ]  

DESCRIPTION

gperf reads a set of ``keys'' from keyfile (or, by default, from the standard input) and attempts to find a non-minimal perfect hashing function that recognizes a member of the key set in constant, i.e., O(1), time. If such a function is found the program generates a pair of C source code routines that perform the hashing and table lookup. All generated code is directed to the standard output.

Please refer to the gperf.texinfo file for more information. This file is distributed with gperf release.


 

Index

NAME
SYNOPSIS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:34:41 GMT, March 30, 2022